from django.db import models

# Create your models here.
class userclasstable(models.Model):
	courseidentifier = models.TextField(db_column='CourseIdentifier') # Field name made lowercase.
	user = models.TextField(db_column='User') # Field renamed because it was a Python reserved word. Field name made lowercase.
	prof = models.TextField(db_column='prof', default='')
	termtaken = models.TextField(db_column='termtaken', default='')
	rating = models.IntegerField(db_column='rating', default=0) # Field name made lowercase.
	difficult = models.IntegerField(db_column='difficult', default=0) # Field name made lowercase.
	heavyworkload = models.IntegerField(db_column='heavyworkload', default=0)
	interesting = models.IntegerField(db_column='interesting', default=0) # Field name made lowercase.
	gladtook = models.IntegerField(db_column='gladtook', default=0) # Field name made lowercase.
	profrating = models.IntegerField(db_column='profrating', default=0) # Field name made lowercase.
	comments = models.TextField(db_column='comments', default='') # Field name made lowercase.
	hasFinal = models.TextField(db_column='hasFinal', default='') # Field name made lowercase.
	date_created = models.DateTimeField(db_column='date_created', auto_now=True) # Field name made lowercase.
	date_modified = models.DateTimeField(db_column='date_modified', auto_now=True)